/*
 * Battery.cpp
 *
 *  Created on: Dec 10, 2011
 *      Author: Michael Anderson
 *      Part of Team 955 Battery Cart project
 *      compiled on Eclipse with Arduino libraries and avr-gcc
 */

#include "Battery.h"

Battery::Battery(uint8_t ID) {
    batteryID = ID;
    state = BATTERY_IDLE;
}

uint8_t Battery::getID() {
    return batteryID;
}

void Battery::setState(battery_state newState) {
    state = newState;
}

battery_state Battery::getState() {
    return state;
}
